package com.aaa.day02.myclass;

/**
 * @author ：Teacher陈（86521760@qq.com）
 * @date ：Created in 2024/11/12 14:47
 * @description：老师类
 * @modified By：
 * @version: 1.0
 */
public class Teacher {
    /**
     * 工号
     */
    int  id;
    String  name;
    int age;

    public Teacher() {
    }

    public Teacher(int id, String name, int age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public  void teach(){
        System.out.println("教学");
    }
    public  void code(){
        System.out.println("编码");
    }
    public  void call(){
        System.out.println("点名");
    }

    public static void main(String[] args) {
        Teacher teacher = new Teacher();
    }
}
